<template>
  <div class="mian" v-loading="httpLoading" element-loading-text="拼命加载中">
     <router-view></router-view>
     <!-- <time-line :showInfo="showInfo" ref="tim"></time-line>
     <el-button
        type="text"
        size="mini"
        @click.stop="() => {$refs.tim.toggleDiolag()}">
        编辑
    </el-button> -->
  </div>
</template>
<script>
// import timeLine from './timeline.vue'
export default {
  components:{
    // timeLine
  },
  computed:{
    httpLoading(){
      return this.$store.state.httping
    }
  },
  data(){
    return {
      // showInfo:true
    }
  },
  methods:{
    // closeDialog(){
    //   this.showInfo=false;
    // }
  },
  created(){
    // window.onload=()=>{
    //   if(this.$route.name!='Home'){
    //     this.$router.push({name:'Home'});
    //   }
    // }
  }
}
</script>

<style>
/* .el-loading-mask:nth-child(2){
  display: none!important;
} */
</style>
